package com.haoe.enums;

/**
 * @Author: 80305082
 * @Date: 2021/3/12
 * @Description: 订单类型枚举类
 */
public enum OrderStatusEnum {
    SUBMIT(0, "提交"),
    ACCEPT(1, "已接单"),
    ARRIVE(2, "已送达"),
    PAID(3, "已支付");

    private int code;

    private String message;

    OrderStatusEnum(int code, String message) {
        this.code = code;
        this.message = message;
    }

    public int getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }
}
